<?php  
	require_once $_site->get_handlepath('user');
	$user_session = user_fun_get_user_login_info();
	if(!$user_session){
		location_msg(L(1411),'/wap/login');
	}
	$user_id = $user_session['id'];
	$user_info = user_fun_user_info($user_id);
	//$user_vip_level = user_fun_get_vip_config($user_info['total_point']);
	$user_vip_level = user_fun_get_vip_discount_by_city($user_info['area'],$user_info['total_point']);
	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户信息 - <?php echo $_site->site_config['site']['title'];?></title>
<link href="/static/wap/css/css.css" rel="stylesheet" type="text/css"/>
</head>

<body>
	<div class="top">信 息</div>
    <div class="main">
    	<ul>
        	<li><span>账　　户：</span><div class="wz"><?php echo $user_info['phone'] ?></div></li>
            <li><span>剩余积分：</span><div class="wz"><?php echo $user_info['point'] ?></div></li>
            <li><span>会员类型：</span><div class="wz"><?php echo $user_vip_level['vip_type'] ?></div></li>
            <li><span>享受折扣：</span><div class="wz"><?php echo $user_vip_level['discount'].'折' ?></div></li>
            <!--<li style="border:0px;"><div class="col_2"><input class="input_bt" name="" type="button" value="返 回" /></div></li>-->
        </ul>
    </div>
</body>
</html>
